package com.zml.dao;

import com.zml.entity.ConfigRecord;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author <a href="mailto:zhaominglin@wxchina.com">minglin.Zhao</a>
 * @Description
 * @Date 2017/11/2
 * @Version 1.0.0
 */
public interface BizDataDao {
    List<ConfigRecord> findAllConfigs();

    void updateConfig(@Param("config") ConfigRecord config);

    int updateConfigWithOldValue(@Param("config") ConfigRecord config, @Param("oldValue") String oldValue);
}
